//
//  JLCFApplicationEntrace.h
//  Jlcf_ios
//
//  Created by Ji on 2018/9/13.
//  Copyright © 2018年 ski. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JLCFNavigationController.h"
#import "JLCFRootViewController.h"
#import "JLCFNormalTabBarController.h"

NS_ASSUME_NONNULL_BEGIN

@interface JinLiCaiFuApplicationEntrace : NSObject

@property (nonatomic, strong) UIWindow *window;
@property (nonatomic, strong) JLCFNavigationController *currentNavController;
@property (nonatomic, strong) JLCFNormalTabBarController *tabBarViewController;
//频道统计
@property (nonatomic, strong) NSString *channelId;
//首次下载
@property (nonatomic, assign) BOOL isFirst;
//是否显示手势密码
@property (nonatomic, assign) BOOL showedGesture;
//是否已经显示手势密码
@property (nonatomic, assign) BOOL isShowingGesture;

+ (JinLiCaiFuApplicationEntrace *)shareEntrance;

- (void)popTopViewController:(NSString *)vcClass;//返回指定界面
//判断是否包含某个界面
- (BOOL)isContainVC:(NSString *)vc;

- (void)applicationEntrance:(UIWindow *)mainWindow launchOptions:(NSDictionary *)launchOptions;

- (void)applicationRegisterDeviceToken:(NSData*)deviceToken;
- (void)applicationFailToRegisterDeviceToken:(NSError*)error;
- (void)applicationReceiveNotifaction:(NSDictionary*)userInfo;
- (void)applicationDidReceiveRemoteNotification:(NSDictionary *_Nonnull)userInfo fetchCompletionHandler:(void (^_Nonnull)(UIBackgroundFetchResult result))completionHandler;

@end

NS_ASSUME_NONNULL_END
